/*


//For making ropes:
  for (int i=0; i<myNum; i++){
    Vector3d pos = new Vector3d((i/(myNum-1.0))*300+myPlayer.getParticle(GREENINDEX).position.x,myPlayer.getParticle(GREENINDEX).position.y+20.0*(i/(myNum-1.0)),0);
    myParts[i] = new Particle(pos,new Vector3d(pos),10.1/myNum,2.0,new Vector3d(100,199,100));
    if (i==myNum-1||i==1){ myParts[i].setPinned();}
    otherParticle.add(myParts[i]);
    buffer.add(myParts[i]);
  }
  strutList(buffer,myStrut);
  greenStruts = new Strut[buffer.size()-1];
  for (int i=0; i<buffer.size()-1; i++){
    greenStruts[i] = (Strut)myStrut.get(myStrut.size()-buffer.size()+1+i);
  }
  
  buffer.clear();  
  for (int i=0; i<myNum; i++){
    Vector3d pos = new Vector3d((i/(myNum-1.0))*400+myPlayer.getParticle(REDINDEX).position.x,myPlayer.getParticle(REDINDEX).position.y-40.0*(i/(myNum-1.0)),0);
    myParts[i] = new Particle(pos,new Vector3d(pos),10.1/myNum,2.0,new Vector3d(199,100,100));
    if (i==myNum-1||i==0){ myParts[i].setPinned();}
    otherParticle.add(myParts[i]);
    buffer.add(myParts[i]);
  }
  strutList(buffer,myStrut);
  redStruts = new Strut[buffer.size()-1];
  for (int i=0; i<buffer.size()-1; i++){
    redStruts[i] = (Strut)myStrut.get(myStrut.size()-buffer.size()+1+i);
  }
  buffer.clear();  
  for (int i=0; i<myNum; i++){
    Vector3d pos = new Vector3d((i/(myNum-1.0))*100+myPlayer.getParticle(BLUEINDEX).position.x,myPlayer.getParticle(BLUEINDEX).position.y+30.0*(i/(myNum-1.0)),0);
    myParts[i] = new Particle(pos,new Vector3d(pos),10.1/myNum,2.0,new Vector3d(100,100,199));
    if (i==myNum-10){ myParts[i].setPinned();}
    otherParticle.add(myParts[i]);
    buffer.add(myParts[i]);
  }
  strutList(buffer,myStrut);
  blueStruts = new Strut[buffer.size()-1];
  for (int i=0; i<buffer.size()-1; i++){
    blueStruts[i] = (Strut)myStrut.get(myStrut.size()-buffer.size()+1+i);
  }
//End making ropes
  
*/
